.bubble-box-container {
  position: relative;
  width: 100%;

  .bubble-box-item {
    position: relative;
    width: 100%;

    padding: 50rpx;

    &.top-empty {
      padding-top: 100rpx;
    }

    &.fit-content {
      width: fit-content;
    }
  }

  .bubble-box-position-demo {
    position: relative;
    width: 100%;
    height: 400rpx;
    display: flex;

    .left,
    .right {
      width: fit-content;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .center {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
    }

    .item {
      width: fit-content;
      height: fit-content;
      box-sizing: content-box;
      padding: 20rpx;
      box-sizing: content-box;
    }
  }
}

/* 案例1 演示 start */
.bubble-box-demo1 {
  position: relative;
  width: 100%;
  height: 100rpx;
  margin-top: 300rpx;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;

  .menu-item {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32rpx;

    & + .menu-item {
      &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 1rpx;
        height: 60%;
        background-color: var(--tn-color-gray-light);
        transform: translate(-50%, -50%);
      }
    }

    .content {
      width: 100%;
    }
  }
}
/* 案例1 演示 end */
